home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / gwuada_5.zip / adaed / spider / draw13.ada < prev    next >
Text File  |  1993-02-04  |  313b  |  26 lines

  1. WITH Spider; USE Spider;
  2. PROCEDURE Drawing13 IS
  3.  
  4. -- Declare a variable named Count
  5. Count: integer;
  6.  
  7. PROCEDURE Walk IS
  8. BEGIN
  9. WHILE NOT AtWall LOOP
  10.      Step;
  11. END LOOP;
  12. END Walk;
  13.  
  14. BEGIN
  15. Start;
  16. Red;
  17.  
  18. -- Repeat 4 times
  19. FOR Count IN 1..4 LOOP
  20.    Walk;
  21.    Turn;
  22. END LOOP;
  23.  
  24. Quit;
  25. END Drawing13;
  26.